package Service.Impl;

import Dao.TestDao;
import Model.Test;
import Service.TestService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TestServiceImpl implements TestService{

    @Autowired
    private TestDao testDao;

    /**
     * 数据测试
     * @return
     */
    @Override
    public List<Test> test(){
        return testDao.test();
    }

}
